home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / bsd4-1.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  2.3 KB  |  88 lines

  1. /* Definitions file for GNU Emacs running on bsd 4.1.
  2.    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: FSF 19.29. */
  21.  
  22. /*
  23.  *    Define symbols to identify the version of Unix this is.
  24.  *    Define all the symbols that apply correctly.
  25.  */
  26.  
  27. #define BSD4_1
  28.  
  29. #define BSD
  30.  
  31. /* SYSTEM_TYPE should indicate the kind of system you are using.
  32.  It sets the Lisp variable system-type.  */
  33.  
  34. #define SYSTEM_TYPE "berkeley-unix"
  35.  
  36. /* First pty name is /dev/ptyp0.  */
  37.  
  38. #define FIRST_PTY_LETTER 'p'
  39.  
  40. /*
  41.  *    Define HAVE_PTYS if the system supports pty devices.
  42.  */
  43.  
  44. /* #define HAVE_PTYS */
  45.  
  46. /* Define this macro if system defines a type `union wait'.  */
  47.  
  48. #define HAVE_UNION_WAIT
  49.  
  50. /* If your system uses COFF (Common Object File Format) then define the
  51.    preprocessor symbol "COFF". */
  52.  
  53. /* #define COFF */
  54.  
  55. /* define MAIL_USE_FLOCK if the mailer uses flock
  56.    to interlock access to /usr/spool/mail/$USER.
  57.    The alternative is that a lock file named
  58.    /usr/spool/mail/$USER.lock.  */
  59.  
  60. /* #define MAIL_USE_FLOCK */
  61.  
  62. /* The file containing the kernel's symbol table is called /vmunix.  */
  63.  
  64. #define KERNEL_FILE "/vmunix"
  65.  
  66. /* The symbol in the kernel where the load average is found
  67.    is named _avenrun.  */
  68.  
  69. #define LDAV_SYMBOL "_avenrun"
  70.  
  71. /* Special hacks needed to make Emacs run on this system.  */
  72.  
  73. #define lstat stat
  74.  
  75. /* sys_open handles the necessary 4.2 features for open.  */
  76.  
  77. #define ENCAPSULATE_OPEN
  78.  
  79. /* Names of flags for open.  */
  80. #define O_RDONLY 0
  81. #define O_WRONLY 1
  82. #define O_RDWR 2
  83. #define O_EXCL    2000
  84. #define O_CREAT 1000
  85.  
  86. /* Special library needed for linking for 4.1.  */
  87. #define LIBS_SYSTEM -ljobs
  88.